import sys

from Seckill import Seckill

if __name__ == '__main__':
    a = """    
    功能列表：                                                                                
     1.获取签名信息
     2.获取零元购商品列表
     3.获取商品信息
     4.检查是否存在订单
     5.立即兑换
     6.登录
        """
    print(a)
    sh_seckill = Seckill()
    choice_function = input('请选择:')
    if choice_function == '1':
        sh_seckill.get_signature()
    elif choice_function == '2':
        sh_seckill.get_sale_centre()
    elif choice_function == '3':
        sh_seckill.get_product()
    elif choice_function == '4':
        sh_seckill.check_exist()
    elif choice_function == '5':
        sh_seckill.soho()
    elif choice_function == '6':
        sh_seckill.login()
    else:
        print('没有此功能')
        sys.exit(1)




